<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="styles/theme/atom-one-dark.css">
        <title>例子1和2-JS进阶（一）</title>
    </head>
    <body>
        <pre>
            <code>
                    // 例子1

                    var a = 20;
                    var b = a;
                    b = 30;
                    console.log(a);
                    // 这时a的值是多少？


                    // 例子2

                    var m = {
                        a: 10,
                        b: 20
                    }
                    var n = m;
                    n.a = 15;
                    console.log(m.a);
                    // 这时m.a的值是多少？
            </code>
        </pre>
        <script src="scripts/libs/highlight.pack.js"></script>
        <script src="scripts/1+2.js"></script>
        <script>
            hljs.initHighlightingOnLoad();
        </script>
    </body>
</html>